from Products.CMFCore.utils import getToolByName

request = container.REQUEST
RESPONSE =  request.RESPONSE

pc = getToolByName(context, 'portal_catalog')

term = request.get('term', '')

results = pc.searchResults(Type='BevanLetter', SearchableText=term,review_state="published")

return results
